package com.huawei.petapp2.entity;

import java.io.Serializable;
import java.math.BigDecimal;

public class Storeitem implements Serializable {

    private static final long serialVersionUID = 1L;


    private Integer itemId;


    private Integer storeId;


    private Integer itemCategory;


    private String itemName;

    private String itemImg;


    private BigDecimal itemPrice;


    private String itemDes;

   //在更新的时候自动加上时间，需要编写处理器处理注解

    private String itemTime;

    private Integer inventory;


    private Integer itemSpec;


    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getItemCategory() {
        return itemCategory;
    }

    public void setItemCategory(Integer itemCategory) {
        this.itemCategory = itemCategory;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemImg() {
        return itemImg;
    }

    public void setItemImg(String itemImg) {
        this.itemImg = itemImg;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
    }

    public String getItemDes() {
        return itemDes;
    }

    public void setItemDes(String itemDes) {
        this.itemDes = itemDes;
    }

    public String getItemTime() {
        return itemTime;
    }

    public void setItemTime(String itemTime) {
        this.itemTime = itemTime;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Integer getItemSpec() {
        return itemSpec;
    }

    public void setItemSpec(Integer itemSpec) {
        this.itemSpec = itemSpec;
    }

    @Override
    public String toString() {
        return "Storeitem{" +
                "itemId=" + itemId +
                ", storeId=" + storeId +
                ", itemCategory=" + itemCategory +
                ", itemName=" + itemName +
                ", itemImg=" + itemImg +
                ", itemPrice=" + itemPrice +
                ", itemDes=" + itemDes +
                ", itemTime=" + itemTime +
                ", inventory=" + inventory +
                ", itemSpec=" + itemSpec +
                "}";
    }
}

